# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2023年02月23日
"""

import docx
from docx.shared import Cm,Pt
from docx.enum.text import WD_PARAGRAPH_ALIGNMENT


myDocument=docx.Document('快捷键.docx')
myTable=myDocument.tables[0]
for i in range(len(myTable.rows)):
	myTable.cell(i,0).paragraphs[0].alignment=docx.enum.text.WD_PARAGRAPH_ALIGNMENT.RIGHT

myDocument.save('02散文名篇.docx')


